package com.aiapphub.BaseCode.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.aiapphub.BaseCode.entity.SsoOrg;

import java.util.List;


/**
 * 组织数据表(Org)表数据库访问层
 *
 * @author makejava
 * @since 2024-09-19 17:33:17
 */
public interface SsoOrgMapper extends BaseMapper<SsoOrg> {

    default void insertBatch(List<SsoOrg> ssoOrgDataList) {
        if (ssoOrgDataList != null && !ssoOrgDataList.isEmpty()) {
            ssoOrgDataList.forEach(this::insert);
        }
    }



}
